<script language="javascript" type="text/javascript" src="<?=site_url("home/get_lang")?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/city.js')?>"></script>
<div class="homebox2">
<?php
echo form_open($queryaction,array('id' => 'fmflight'));
?><table style="margin:10px">
	<tr><td><?=lang("home_Flight_Type")?></td></tr>
	<tr><td width=164 ><?php
		
		$data = array(
		    'name'        => 'flighttype',
		    'id'          => 'txflighttrip1',
		    'value'       => '1',
		    'checked'     => set_radio('flighttype', '1', TRUE) ,
		    'onclick'	   =>'enabledbackround(0)'
		    );
		echo form_radio($data);
		echo form_label(lang("home_oneway"),'txflighttrip1');
		
		$data = array(
		    'name'        => 'flighttype',
		    'id'          => 'txflighttrip2',
		    'value'       => '2',
		    'checked'     => set_radio('flighttype', '2') ,
		    'onclick'	   =>'enabledbackround(1)'
		    );
		echo form_radio($data);
		echo form_label(lang("home_roundtrip"),'txflighttrip2');
		
		?></td>
	</tr>
	<tr height=30 >
		<td><?=lang('home_From')?>:</td>
	</tr>
	<tr>
		<td><select name="seFromCity" id="seFromCity" valtoname="txFromCity" valtocode="txFromCityCode"  class="selairport">
		</select><input type=hidden id="txFromCity" name="FromCity"  value="">
		<input id="txFromCityCode" name="FromCityCode" type="text" class="txairc" maxlength=3 value="<?php echo $sFromcitycode?>" />
	 	</td>
	</tr>
	<tr height=30 ><td><?=lang('home_To')?>:</td></tr>
	<tr>
		<td><select name="seDestCity" id="seDestCity" valtoname="txDestCity" valtocode="txDestCityCode"  class="selairport"></select>
		<input type=hidden id="txDestCity" name="DestCity" value=""><input id="txDestCityCode"  name="DestCityCode" type="text" class="txairc" maxlength=3 value="<?php echo $sDestcitycode?>" />
		</td>
	</tr>
	<tr height=30 ><td ><?=lang('home_Depart')?>:</td></tr>
	<tr height=30 ><td><input type=text id="txDepartDate" name="DepartDate" class="txdatec" value="<?php echo $sDepartDate?>"  /></td></tr>
	
	<tr height=30 ><td><?=lang('home_Return')?>:</td></tr>
	<tr height=30 ><td><input type=text id="txReturnDate" name="ReturnDate" disabled1 class="txdisabled" value="<?php echo $sReturnDate?>" /></td></tr>
	<tr height=30 ><td ><?=lang('home_Airline')?>:</td></tr>
	
	<tr height=30 ><td><?php echo $selairline ?></td></tr>
	<tr height=30 >
		<td align=center ><input type="submit" name="mysubmit" class="btn" onclick="resetgoFlight()" value="Find again" /></td>
	</tr>
</table>
<input id="txisback" type=hidden name="isback" value="<?=set_value("isback",$isback)?>" />
<input id="txgoFlightData"  type=hidden name="goFlightData" value="<?=set_value("goFlightData",$goFlightData)?>" />
<?php

echo form_close("");
?>
</div>